package com.park.service;

import java.util.List;

import com.park.model.Router;
import com.park.model.SysMenu;

public interface SysMenuService {

	List<Router> findTree(String userName);

	int insert(SysMenu sysMenu);

	int update(SysMenu sysMenu);

	int delete(int id);

	List<SysMenu> getByRoleId(Long id);

	List<SysMenu> getAllSysMenu();

}
